package com.JavaWk2_7;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        Date date = new Date("June", "13", "1993");
        System.out.println(date.to_String());
        String y, m, d;
        y = in.next();
        m = in.next();
        d = in.next();
        Date d2 = new Date(y, m, d);
        System.out.println(d2.to_String());
    }
}
